import 'package:flutter/material.dart';
import 'package:flutter_juwo/common/common_index.dart';
import 'package:flutter_juwo/ui/pages/orderPlaceProcess/top.dart';

import 'basicInfo.dart';
import 'bottom.dart';

class OrderPlaceProcess extends StatefulWidget {
  @override
  _OrderPlaceProcessState createState() => _OrderPlaceProcessState();
}

class _OrderPlaceProcessState extends State<OrderPlaceProcess> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      backgroundColor: Colors.white,
      appBar: UiUtils.appBar(context, "下单流程"),
      body: Column(
        children: <Widget>[
          UiUtils.dividerWidget(10.0),
          Expanded(
            flex: 1,
            child: EasyRefresh(
                child: ListView(
                  children: <Widget>[
                    Top(),
                    UiUtils.dividerWidget(10.0),
                    BasicInfo(),
                    UiUtils.dividerWidget(10.0),
                    BottomWidgets()
                  ],
                )),
          )
        ],
      ),
    );
  }

  getDivider() {
    return Container(
      height: ScreenUtil().setWidth(20),
      color: Colours.c243,
    );
  }
}
